﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MP.Core.Config
{
    public class DepartConfig
    {
       
        /*========== CAC THAM SO CAU HINH LAY TU DATABASE (maSystemParam) ==========*/
        /// <summary>
        /// MOt nguoi co the dang ky nhieu lan an trong ngay khong ( sang/chieu)
        /// </summary>
        public bool CT_ORDER_MORE_THAN_ONE_MEAL = false;
        /// <summary>
        /// So suat an toi da co the dang ky cho 1 mon
        /// </summary>
        public int CT_ORDER_MAX_NUMBER_OF_RATION_ONE_MEAL = 1;
        /// <summary>
        /// Moi ngay co 2 ca an
        /// </summary>
        public bool CT_HAS_2_MEAL_ONE_DAY = false;
        /// <summary>
        /// Phai dang ky truoc may ngay
        /// </summary>
        public int CT_ORDER_BEFORE_DAYS = 1;

        /// <summary>
        /// So record hien thi trong mot trang grid
        /// </summary>
        public int SYS_RECORDS_PER_PAGE = 50;
        /// <summary>
        /// So phut duoc di tre. VD: vao sau 15phut moi bi tinh di tre
        /// </summary>
        public int AS_MINUTE_FOR_LATE = 15;
        /// <summary>
        /// So phut duoc di tre. VD: vao sau 15phut moi bi tinh di tre
        /// </summary>
        public int AS_MINUTE_FOR_ABSENT = 30;

        /// <summary>
        /// Co the vao truoc ca bao nhieu phut
        /// </summary>
        public int AS_CAN_LOG_ON_BEFORE_MINUTES = 30;
        /// <summary>
        /// Co the ve tre ca bao nhieu phut
        /// </summary>
        public int AS_CAN_LOG_OFF_AFTER_MINUTES = 30;
        /// <summary>
        /// User co the doi ca sau khi bi tu choi doi ca hay ko
        /// </summary>
        public bool AS_CAN_TRANSFER_AFTER_NOT_COMMIT = true;
        /// <summary>
        /// Co su dung chuong trinh login khong
        /// </summary>
        public bool AS_IS_USE_AGENT_LOGIN = true;
        /// <summary>
        /// So lan gioi han doi ca/thay ca trong thang
        /// </summary>
        public int AS_TRANSFER_LIMIT_NUM = 5;


        /***** Điểm chất lượng điện thoại viên *****/
        public int SQ_ROUND = 3;

        /// <summary>
        /// Cận dưới điểm chất lượng
        /// </summary>
        public double SQ_NM = 8.5;
    }
}
